﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using RoMFramework.RomAPI;

namespace RoMFramework.Hacks
{
    class HackExample : HackBase
    {
        public static List<Keys> StaticHotKeys, StaticDefaultHotKeys;

        public HackExample(RomClient client) : base(client)
        {
            HackName = "ExampleHack";
            LoadHotKeys();
        }

        private static void InitialiseHotKeys()
        {
            if (StaticDefaultHotKeys == null)
            {
                StaticDefaultHotKeys = new List<Keys>();
            }
            if (StaticHotKeys == null)
            {
                StaticHotKeys = new List<Keys>();
            }
        }

        public override List<Keys> HotKeys
        {
            get { InitialiseHotKeys(); return StaticHotKeys; }
            protected set { StaticHotKeys = value; }
        }

        public override List<Keys> DefaultHotKeys
        {
            get { InitialiseHotKeys(); return StaticDefaultHotKeys; }
            protected set { StaticDefaultHotKeys = value; }
        }

        public override void Enable(Keys keys)
        {
            throw new NotImplementedException();
        }

        public override void Disable(Keys keys)
        {
            throw new NotImplementedException();
        }

        public override void Toggle(Keys keys)
        {
            throw new NotImplementedException();
        }
    }
}
